<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ContentListSummary.ascx.cs" Inherits="IGlobalist.Cms.Admin.Control.ContentListSummary" %>
<div style="text-align:center;height:20px;width:600px">
    <asp:Label runat="server" ID="lblStatus" ForeColor="#1A5688" Font-Bold="True" Font-Size="Medium"/>
</div>
<br />
 <table>
 <asp:GridView ID="gvContent" runat="server"  AllowPaging="false" autogeneratecolumns="false" 
            CellPadding="6" ForeColor="#333333"  OnRowCommand="gvContent_RowCommand" BorderColor="white" BorderWidth="0" >
            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White"  />
            <Columns>
                <asp:TemplateField >
                    <ItemTemplate>
                       
                        <tr><td><b><asp:Label ID="lblName" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.Title") %>'></asp:Label></b></td>
                            <td align="right"><asp:ImageButton ID="imgEdit" ImageUrl="~/Admin/Images/edit.gif"  runat="server"   CommandName="editContent" CommandArgument='<%# DataBinder.Eval(Container, "DataItem.ID") %>' />
                            <asp:ImageButton ID="ingDelete" ImageUrl="~/Admin/Images/delete.gif" runat="server" OnClientClick="return confirm('Are you sure you want to delete?');"  CommandName="delContent" CommandArgument='<%# DataBinder.Eval(Container, "DataItem.ID") %>' /></td></tr>
                        <tr><td colspan="2"><asp:Label ID="lblSummary" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.Summary") %>'></asp:Label></td></tr>
                        <tr><td align="right" colspan="2"><asp:Label ID="lblOrder" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.AuthorNews") %>'></asp:Label></td></tr>
                       <tr><td colspan="2"><hr /></td></tr>
                   </ItemTemplate>
                </asp:TemplateField>                           
            </Columns>
            
        </asp:GridView>  
  </table> 